﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace CoreTest
{
    public class NormalClass
    {
        public int DoSomething()
        {
           
            return 1;
        }
    }

    public class Decorator:NormalClass
    {

        public override int DoSomething()
        {
            Console.WriteLine("123");
            return base.DoSomething();
        }
    }
}
